#pragma once

#ifndef _DEFINE_H_
#define _DEFINE_H_
// Credits go to Lordkat for this


/* Jobs */
#define JOB_RESERVED	0x00
#define JOB_WAR			0x01
#define JOB_MNK			0x02
#define JOB_WHM			0x03
#define JOB_BLM			0x04
#define JOB_RDM			0x05
#define JOB_THF			0x06
#define JOB_PLD			0x07
#define JOB_DRK			0x08
#define JOB_BST			0x09
#define JOB_BRD			0x0a
#define JOB_RNG			0x0b
#define JOB_SAM			0x0c
#define JOB_NIN			0x0d
#define JOB_DRG			0x0e
#define JOB_SMN			0x0f
#define JOB_BLU			0x10
#define JOB_COR			0x11
#define JOB_PUP			0x12
#define JOB_DNC			0x13
#define JOB_SCH			0x14

/* Jobs Longhand */
#define JOB_WARRIOR			JOB_WAR
#define JOB_WHITE_MAGE		JOB_WHM
#define JOB_BLACK_MAGE		JOB_BLM
#define JOB_THIEF			JOB_THF
#define JOB_RED_MAGE		JOB_RDM
#define JOB_MONK			JOB_MNK
#define JOB_PALADIN			JOB_PLD
#define JOB_DARK_KNIGHT		JOB_DRK
#define JOB_BEASTMASTER		JOB_BST
#define JOB_BARD			JOB_BRD
#define JOB_RANGER			JOB_RNG
#define JOB_SAMURAI			JOB_SAM
#define JOB_NINJA			JOB_NIN
#define JOB_DRAGOON			JOB_DRG
#define JOB_SUMMONER		JOB_SMN
#define JOB_BLUE_MAGE		JOB_BLU
#define JOB_CORSAIR			JOB_COR
#define JOB_PUPPETMASTER	JOB_PUP
#define JOB_DANCER			JOB_DNC
#define JOB_SCHOLAR			JOB_SCH

/* Skills */
#define SKILL_H2H		0x01
#define SKILL_DAG		0x02
#define SKILL_SWD		0x03
#define SKILL_GSD		0x04
#define SKILL_AXE		0x05
#define SKILL_GAX		0x06
#define SKILL_SYH		0x07
#define SKILL_POL		0x08
#define SKILL_KAT		0x09
#define SKILL_GKT		0x0a
#define SKILL_CLB		0x0b
#define SKILL_STF		0x0c
#define SKILL_RS1		0x0d
#define SKILL_RS2		0x0e
#define SKILL_RS3		0x0f
#define SKILL_RS4		0x10
#define SKILL_RS5		0x11
#define SKILL_RS6		0x12
#define SKILL_RS7		0x13
#define SKILL_RS8		0x14
#define SKILL_RS9		0x15
#define SKILL_RSA		0x16
#define SKILL_RSB		0x17
#define SKILL_RSC		0x18
#define SKILL_ARC		0x19
#define SKILL_MRK		0x20
#define SKILL_THR		0x21
#define SKILL_GRD		0x22
#define SKILL_EVA		29
#define SKILL_SHL		0x24
#define SKILL_PAR		0x25
#define SKILL_DIV		0x26
#define SKILL_HEA		0x27
#define SKILL_ENH		0x28
#define SKILL_ENF		0x29
#define SKILL_ELE		0x2a
#define SKILL_DRK		0x2b
#define SKILL_SUM		0x2c
#define SKILL_NIN		0x2d
#define SKILL_SNG		0x2e
#define SKILL_STR		0x2f
#define SKILL_WND		0x30

/* Skills longhand */
#define SKILL_HANDTOHAND	SKILL_H2H
#define SKILL_DAGGER		SKILL_DAG
#define SKILL_SWORD			SKILL_SWD
#define SKILL_GREATSWORD	SKILL_GSD
/*#define SKILL_AXE			SKILL_AXE - Well, short and longhand are the same :D */
#define SKILL_GREATAXE		SKILL_GAX
#define SKILL_SYTHE			SKILL_SYH
#define SKILL_POLARM		SKILL_POL
#define SKILL_KATANA		SKILL_KAT
#define SKILL_GREATKATANA	SKILL_GKT
#define SKILL_CLUB			SKILL_CLB
#define SKILL_STAFF			SKILL_STF
/* Reserved skills, 13 - 24 */
#define SKILL_ARCHERY		SKILL_ARC
#define SKILL_MARKSMANSHIP	SKILL_MRK
#define SKILL_THROWING		SKILL_THR
#define SKILL_GUARDING		SKILL_GRD
#define SKILL_EVASION		SKILL_EVA
#define SKILL_SHIELD		SKILL_SHL
#define SKILL_PARRYING		SKILL_PAR
#define SKILL_DIVINE		SKILL_DIV
#define SKILL_HEALING		SKILL_HEA
#define SKILL_ENHANCING		SKILL_ENH
#define SKILL_ENFEEBLING	SKILL_ENF
#define SKILL_ELEMENTAL		SKILL_ELE
#define SKILL_DARK			SKILL_DRK
#define SKILL_SUMMONING		SKILL_SUM
#define SKILL_NINJUTSU		SKILL_NIN
#define SKILL_SINGING		SKILL_SNG
#define SKILL_STRING		SKILL_STR
#define SKILL_WIND			SKILL_WND

/* Zones */
#define ZONE_TEST						0x00
#define ZONE_PHANAUET_CHANNEL			0x01
#define ZONE_CARPENTERS_LANDING			0x02
#define ZONE_MANACLIPPER				0x03
#define ZONE_BIBIKI_BAY					0x04
#define ZONE_ULEGUERAND_RANGE			0x05
#define ZONE_BEARCLAW_PINNACLE			0x06
#define ZONE_ATTOHWA_CHASM				0x07
#define ZONE_BONEYARD_GULLY				0x08
#define ZONE_PSO_XJA					0x09
#define ZONE_SHROUDED_MAW				0x0a
#define ZONE_OLDTON_MOVALPOLOS			0x0b
#define ZONE_NEWTON_MOVALPOLOS			0x0c
#define ZONE_MINESHAFT_2716				0x0d
#define ZONE_HALL_OF_TRANSFERENCE		0x0e
#define ZONE_GM_ZONE_3					0x0f
#define ZONE_PROMYVION_HOLLA			0x10
#define ZONE_SPIRE_OF_HOLLA				0x11
#define ZONE_PROMYVION_DEM				0x12
#define ZONE_SPIRE_OF_DEM				0x13
#define ZONE_PROMYVION_MEA				0x14
#define ZONE_SPIRE_OF_MEA				0x15
#define ZONE_PROMYVION_VAHZL			0x16
#define ZONE_SPIRE_OF_VAHZL				0x17
#define ZONE_LUFAISE_MEADOWS			0x18
#define ZONE_MISAREAUX_COAST			0x19
#define ZONE_TAVNAZIAN_SAFEHOLD			0x1a
#define ZONE_PHOMIUNA_AQUEDUCTS			0x1b
#define ZONE_SACRARIUM					0x1c
#define ZONE_RIVERNE_SITE_B01			0x1d
#define ZONE_RIVERNE_SITE_A01			0x1e
#define ZONE_MONARCH_LINN				0x1f
#define ZONE_SEALIONS_DEN				0x20
#define ZONE_AL_TAIEU					0x21
#define ZONE_GRAND_PALACE_OF_HU_XZOI	0x22
#define ZONE_THE_GARDEN_OF_RU_HMET		0x23
#define ZONE_EMPYREAL_PARADOX			0x24
#define ZONE_TEMENOS					0x25
#define ZONE_APOLLYON					0x26
#define ZONE_DYNAMIS_VALKURM			0x27
#define ZONE_DYNAMIS_BUBURIMU			0x28
#define ZONE_DYNAMIS_QUFIM				0x29
#define ZONE_DYNAMIS_TAVNAZIA			0x2a
#define ZONE_DIORAMA_ABDHALJS_GHELSBA	0x2b
#define ZONE_ABDHALJS_ISLE_PURGONORGO	0x2c
#define ZONE_UNKNOWN_1					0x2d
#define ZONE_OPEN_SEA_ROUTE_AL_ZAHBI	0x2e
#define ZONE_OPEN_SEA_ROUTE_MHAURA		0x2f
#define ZONE_AL_ZAHBI					0x30
#define ZONE_GM_ZONE_4					0x31
#define ZONE_AHT_URHGAN_WHITEGATE		0x32
#define ZONE_WAJOAM_WOODLANDS			0x33
#define ZONE_BHAFLAU_THICKETS			0x34
#define ZONE_NASHMAU					0x35
#define ZONE_ARRAPAGO_REEF				0x36
#define ZONE_ILRUSI_REEF				0x37
#define ZONE_PERIQIA					0x38
#define ZONE_TALACCA_COVE				0x39
#define ZONE_SILVER_SEA_ROUTE_NASHMAU	0x3a
#define ZONE_SILVER_SEA_ROUTER_AL_ZAHBI	0x3b
#define ZONE_ASHU_TALIF					0x3c
#define ZONE_MOUNT_ZHAYOLM				0x3d
#define ZONE_HALVUNG					0x3e
#define ZONE_LEBROS_CAVERN				0x3f
#define ZONE_NAVUKGO_EXECUTION_CHAMBER	0x40
#define ZONE_MAMOOK						0x41
#define ZONE_MAMOOK_JA_TRAINING_GROUNDS	0x42
#define ZONE_JADE_SEPULCHER				0x43
#define ZONE_AYDEEWA_SUBTERRANE			0x44
#define ZONE_LEUJAOAM_SANCTUM			0x45
#define ZONE_CHOCOBO_CIRCUIT			0x46
#define ZONE_COLOSSEUM					0x47
#define ZONE_ALZADAAL_UNDERSEA_RUINS	0x48
#define ZONE_ZHAYOLM_REMNANTS			0x49
#define ZONE_ARRAPAGO_REMNANTS			0x4a
#define ZONE_BHAFLAU_REMNANTS			0x4b
#define ZONE_SILVER_SEA_REMNANTS		0x4c
#define ZONE_NYZUL_ISLE					0x4d
#define ZONE_HAZHALM_TESTING_GROUNDS	0x4e
#define ZONE_CAEDARVA_MIRE				0x4f
#define ZONE_SOUTHERN_SAN_DORIA_S		0x50
#define ZONE_EAST_RONFAURE_S			0x51
#define ZONE_JUGNER_FOREST_S			0x52
#define ZONE_VUNKERL_INLET_S			0x53
#define ZONE_BATALLIA_DOWNS_S			0x54
#define ZONE_LA_LAULE_S					0x55
#define ZONE_EVERBLOOM_HOLLOW			0x56
#define ZONE_BASTOK_MARKETS_S			0x57
#define ZONE_NORTH_GUSTABERG_S			0x58
#define ZONE_GRAUBERG_S					0x59
#define	ZONE_PASHHOW_MARSHLANDS_S		0x5a
#define ZONE_ROLANBERRY_FIELDS_S		0x5b
#define ZONE_BEADEAUX_S					0x5c
#define ZONE_RUHOTZ_SILVERMINES			0x5d
#define ZONE_WINDURST_WATERS_S			0x5e
#define ZONE_WEST_SARUTABARUTA_S		0x5f
#define ZONE_FORT_KARUGO_NARUGO_S		0x60
#define ZONE_MERIPHATAUR_MOUNTAINS_S	0x61
#define ZONE_SAUROMUGUE_CHAMPAIGN_S		0x62
#define ZONE_CASTLE_OZTROJA_S			0x63
#define ZONE_WEST_RONFAURE				0x64
#define ZONE_EAST_RONFAURE				0x65
#define ZONE_LA_THEINE_PLATEAU			0x66
#define ZONE_VALKURM_DUNES				0x67
#define ZONE_JUGNER_FOREST				0x68
#define ZONE_BATALLIA_DOWNS				0x69
#define ZONE_NORTH_GUSTABERG			0x6a
#define ZONE_SOUTH_GUSTABERG			0x6b
#define ZONE_KONSCHTAT_HIGHLANDS		0x6c
#define ZONE_PASHHOW_MARSHLANDS			0x6d
#define ZONE_ROLANBERRY_FIELDS			0x6e
#define ZONE_BEAUCEDINE_GLACIER			0x6f
#define ZONE_XARCABARD					0x70
#define ZONE_CAPE_TERIGGAN				0x71
#define ZONE_EASTERN_ALTEPA_DESERT		0x72
#define ZONE_WEST_SARUTABARUTA			0x73
#define ZONE_EAST_SARUTABARUTA			0x74
#define ZONE_TAHRONGI_CANYON			0x75
#define ZONE_BUBURIMU_PENINSULA			0x76
#define ZONE_MERIPHATAUD_MOUNTAINS		0x77
#define ZONE_SAUROMUGUE_CHAMPAIGN		0x78
#define ZONE_SANCTUARY_ZI_TAH			0x79
#define ZONE_RO_MAEVE					0x7a
#define ZONE_YUHTUNGA_JUNGLE			0x7b
#define ZONE_YHOATOR_JUNGLE				0x7c
#define ZONE_WESTERN_ALTEPA_DESERT		0x7d
#define ZONE_QUFIM_ISLAND				0x7e
#define ZONE_BEHEMOTHS_DOMINION			0x7f
#define ZONE_VALLY_SORROWS				0x80
#define ZONE_GHOYUS_REVERIE				0x81
#define ZONE_RU_AUN_GARDENS				0x82
#define ZONE_MORDION_GAOL				0x83
#define ZONE_UNKNOWN_2					0x84	/* GM training zone */
#define ZONE_UNKNOWN_3					0x85	/* Character select/creation screen */
#define ZONE_DYNAMIS_BEAUCEDINE			0x86
#define ZONE_DYNAMIX_XARCABARD			0x87
#define ZONE_BEAUCEDINE_GLACIER_S		0x88
#define ZONE_XARCABARD_S				0x89
#define ZONE_CASTLE_ZVAHL_BAILEYS_S		0x8a
#define ZONE_HORLAIS_PEAK				0x8b
#define ZONE_GHELSBA_OUTPOST			0x8c
#define ZONE_FORT_GHELSBA				0x8d
#define ZONE_YUGHOTT_GROTTO				0x8e
#define ZONE_PALBOROUGH_MINES			0x8f
#define ZONE_WAUGHROON_SHRINE			0x90
#define ZONE_GIDDEUS					0x91
#define ZONE_BALGAS_DAIS				0x92
#define ZONE_BEADEAUX					0x93
#define ZONE_QULUN_DOME					0x94
#define ZONE_DAVOI						0x95
#define ZONE_MONASTIC_CAVERN			0x96
#define ZONE_CASTLE_OZTROJA				0x97
#define ZONE_ALTAR_ROOM					0x98
#define ZONE_BOYAHDA_TREE				0x99
#define ZONE_DRAGONS_AERY				0x9a
#define ZONE_CASTLE_ZVAHL_KEEP_S		0x9b
#define ZONE_THRONE_ROOM_S				0x9c
#define ZONE_MIDDLE_DELKFUTTS_TOWER		0x9d
#define ZONE_UPPER_DELKFUTTS_TOWER		0x9e
#define ZONE_TEMPLE_UGGALEPIH			0x9f
#define ZONE_DEN_RANCOR					0xa0
#define ZONE_CASTLE_ZVAHL_BAILEYS		0xa1
#define ZONE_CASTLE_ZVAHL_KEEP			0xa2
#define ZONE_SACRIFICIAL_CHAMBER		0xa3
#define ZONE_GARLAIGE_CITADEL_S			0xa4
#define ZONE_THRONE_ROOM				0xa5
#define ZONE_RANGUEMONT_PASS			0xa6
#define ZONE_BOSTAUNIEUX_OUBLIETTE		0xa7
#define ZONE_CHAMBER_ORACLES			0xa8
#define ZONE_TORAIMARAI_CANAL			0xa9
#define ZONE_FULL_MOON_FOUNTAIN			0xaa
#define ZONE_CRAWLERS_NEST_S			0xab
#define ZONE_ZERUHN_MINES				0xac
#define ZONE_KORROLOKA_TUNNEL			0xad
#define ZONE_KUFTAL_TUNNEL				0xae
#define ZONE_ELDIEME_NECROPOLIS_S		0xaf
#define ZONE_SEA_SERPERN_GROTTO			0xb0
#define ZONE_VE_LUGANNON_PALACE			0xb1
#define ZONE_SHRINE_RU_AVITAU			0xb2
#define ZONE_STELLAR_FULCRUM			0xb3
#define ZONE_LA_LOFF_AMPHITHEATER		0xb4
#define ZONE_CELESTIAL_NEXUS			0xb5
#define ZONE_WALK_OF_ECHOS				0xb6 /* Currently a CS-only zone, no walkable paths. */
#define ZONE_LAST_STAND					0xb7
#define ZONE_LOWER_DELKFUTTS_TOWER		0xb8
#define ZONE_DYNAMIS_SAN_DORIA			0xb9
#define ZONE_DYNAMIX_BASTOK				0xba
#define ZONE_DYNAMIS_WINDURST			0xbb
#define ZONE_DYNAMIS_JEUNO				0xbc
#define ZONE_MOGHOUSE_PAST_1			0xbd
#define ZONE_KING_RANPERRES_TOMB		0xbe
#define ZONE_DANGRUF_WADI				0xbf
#define ZONE_INNER_HORUTOTO_RUINS		0xc0
#define ZONE_ORDELLES_CAVES				0xc1
#define ZONE_OUTER_HORUTOTO_RUINS		0xc2
#define ZONE_ELDIEME_NECROPOLIS			0xc3
#define ZONE_GUSGEN_MINES				0xc4
#define ZONE_CRAWLERS_NEST				0xc5
#define ZONE_MAZE_SHAKHRAMI				0xc6
#define ZONE_MOGHOUSE_PAST_2			0xc7
#define ZONE_GARLAIGE_CITADEL			0xc8
#define ZONE_CLOISTER_GALES				0xc9
#define ZONE_CLOISTER_STORMS			0xca
#define ZONE_CLOISTER_FROST				0xcb
#define ZONE_FEI_YIN					0xcc
#define ZONE_IFRITS_CAULDRON			0xcd
#define ZONE_QU_BIA_ARENA				0xce
#define ZONE_CLOISTER_FLAMES			0xcf
#define ZONE_QUICKSAND_CAVES			0xd0
#define ZONE_CLOISTER_TREMORS			0xd1
#define ZONE_GM_ZONE_5					0xd2
#define ZONE_CLOISTER_TIDES				0xd3
#define ZONE_GUSTAV_TUNNEL				0xd4
#define ZONE_LABYRINTH_ONZOZO			0xd5
#define ZONE_MOGHOUSE_AL_ZAHBI			0xd6
#define ZONE_MOGHOUSE_JEUNO				0xd7
#define ZONE_MOGHOUSE_SAN_DORIA_1		0xd8
#define ZONE_MOGHOUSE_BASTOK_1			0xd9
#define ZONE_MOGHOUSE_WINDURST_1		0xda
#define ZONE_MOGHOUSE_PAST_3			0xdb
#define ZONE_SHIP_BOUND_SELBINA_1		0xdc
#define ZONE_SHIP_BOUND_MHAURA_1		0xdd
#define ZONE_GM_ZONE_6					0xde
#define ZONE_AIRSHIP_SAN_DORIA			0xdf
#define ZONE_AIRSHIP_BASTOK				0xe0
#define ZONE_AIRSHIP_WINDURST			0xe1
#define ZONE_AIRSHIP_KAZHAM				0xe2
#define ZONE_SHIP_BOUND_SELBINA_2		0xe3
#define ZONE_SHIP_BOUND_MHAURA_2		0xe4
#define ZONE_UNKNOWN_4					0xe5 /* Blank map */
#define ZONE_SOUTHERN_SAN_DORIA			0xe6
#define ZONE_NORTHERN_SAN_DORIA			0xe7
#define ZONE_PORT_SAN_DORIA				0xe8
#define ZONE_CHATEAU_DORAGUILLE			0xe9
#define ZONE_BASTOK_MINES				0xea
#define ZONE_BASTOK_MARKETS				0xeb
#define ZONE_PORT_BASTOK				0xec
#define ZONE_METALWORKS					0xed
#define ZONE_WINDURST_WATERS			0xee
#define ZONE_WINDURST_WALLS				0xef
#define ZONE_PORT_WINDURST				0xf0
#define ZONE_WINDURST_WOODS				0xf1
#define ZONE_HEAVENS_TOWER				0xf2
#define ZONE_RU_LUDE_GARDES				0xf3
#define ZONE_UPPER_JEUNO				0xf4
#define ZONE_LOWER_JEUNO				0xf5
#define ZONE_PORT_JEUNO					0xf6
#define ZONE_RABAO						0xf7
#define ZONE_SELBINA					0xf8
#define ZONE_MHAURA						0xf9
#define ZONE_KAZHAM						0xfa
#define ZONE_HALL_GODS					0xfb
#define ZONE_NORG						0xfc
#define	ZONE_MOGHOUSE_SAN_DORIA_2		0xfd
#define ZONE_MOGHOUSE_BASTOK_2			0xfe
#define ZONE_MOGHOUSE_WINDURST_2		oxff

/* Nations */
#define NATION_SAN_DORIA	0x00
#define NATION_BASTOK		0x01
#define NATION_WINDURST		0x02

/* Flags */
#define FLAG_GM			0x80
#define FLAG_DC			0x04
#define FLAG_INVITE		0x00000010
#define FLAG_ANON		0x00000020

/* Client states */
#define CLIENT_NULL				0	// Nothing
#define CLIENT_NEW_CHARACTER	1	// New client
#define CLIENT_NEW_CONNECT		2	// New client, finished char created, logging in.

#define CLIENT_OTHER			99	// Some other state

/* Character search-condition */
#define CHAR_INZONE				0x01
#define CHAR_INRANGE			0x02
#define CHAR_ALL				0x03
#define CHAR_INRANGE_SELF		0x04
#define CHAR_INZONE_SELF		0x05
#define CHAR_INPARTY			0x06
#define CHAR_INPARTY_SELF		0x07
#define	CHAR_INALLIANCE			0x08
#define	CHAR_INALLIANCE_SELF	0x09
#define CHAR_INLS	    		0x0A
#define CHAR_INLS_SELF		    0x0B
#define CHAR_INRANGE_SHOUT		0x0C

/* Search types */
#define SEARCH_NAME			0x00 
//New Search Types
#define SEARCH_AREA			 0x01 // 00001
#define SEARCH_NATIONALITY	 0x02 // 00010
#define SEARCH_JOB			 0x03 // 00011
#define SEARCH_LEVEL		 0x04 // 00100
#define SEARCH_RACE			 0x05 // 00101
#define SEARCH_FLAGS1		 0x06 // 00110
#define SEARCH_PARTY		 0x0A // 01010
#define SEARCH_LINKSHELL	 0x0B // 01011
#define SEARCH_FRIEND		 0x0C // 01100
#define SEARCH_RANK			 0x10 // 10000
#define SEARCH_COMMENT		 0x11 // 10001
#define SEARCH_FLAGS2		 0x14 // 10100
//Additional Response Types
#define SEARCH_UNKNOWN0x08	 0x08 // 01000
#define SEARCH_LINKSHELLRANK 0x0D // 01101
#define SEARCH_UNKNOWN0x0E	 0x0E // 01110
#define SEARCH_LANGUAGE		 0x15 // 10101

/* Party Flags */
#define PARTY_SECOND			0x01 // 00001
#define PARTY_THIRD				0x02 // 00010
#define PARTY_LEADER			0x04 // 00100
#define ALLIANCE_LEADER			0x08 // 01000
#define PARTY_QM				0x10 // 10000

/* Party Invite Types */

#define INVITE_PARTY			0x00 // 00000
#define INVITE_ALLIANCE			0x02 // 00010

#define NPC_UPDATE_BASIC			0x01	// 00000001  [000B] - [0020]?
#define NPC_UPDATE_STATUS			0x02	// 00000010  [0020] - [0032]?
#define NPC_UPDATE_HP			    0x04	// 00000100
#define NPC_UPDATE_NAME				0x08    // 00001000  [0034] - [0044]
#define NPC_UPDATE_BIT_4			0x10    // 00010000
#define NPC_UPDATE_BIT_5			0x20    // 00100000
#define NPC_UPDATE_BIT_6			0x40    // 01000000
#define NPC_UPDATE_BIT_7			0x80    // 10000000
#define NPC_UPDATE_ALL				0x0f	// 00001111

// Entity Types
#define OBJ_NPC						0x00
#define OBJ_MOB						0x01
#define OBJ_PC						0x02

// Standard Message Types
#define CHECK_MESSAGE				0x0059
#define ITEM_LOST					0x00D0
#define QM_FULL						0x0074
#define PARTY_DECLINED				0x000B
#define PARTY_ITEMS_LOST			0x0016

// Transport Types
#define TRANS_AIRSHIP				0x01
#define TRANS_BOAT					0x02
#define TRANS_BARGE					0x03

// Transport Status
#define TRANS_ARRIVE				0x01
#define TRANS_DOCK					0x02
#define TRANS_DEPART				0x03
#define TRANS_DESPAWN				0x04

// Transport Timestamps
#define AIRSHIPSTAMP				1009810800;


// Spell/Ability Allowed Targets
#define TARGET_NPC					0x40
#define TARGET_PLAYER_DEAD			0x20
#define TARGET_PLAYER				0x10
#define TARGET_PLAYER_ALLIANCE		0x08
#define TARGET_MOB					0x04
#define TARGET_PLAYER_PARTY			0x02
#define TARGET_SELF					0x01


// Quest Logs/Conquest Areas
#define AREA_SANDORIA				0x00
#define AREA_BASTOK					0x01
#define AREA_WINDURST				0x02
#define AREA_JEUNO					0x03
#define AREA_OTHER					0x04
#define AREA_OUTLANDS				0x05
#define AREA_AHTURHGAN				0x06
#define AREA_CRYSTALWAR				0x07

// Container locations
#define LOC_INVENTORY				0x00
#define LOC_MOGSAFE					0x01
#define LOC_STORAGE					0x02
#define LOC_TEMPITEMS				0x03
#define LOC_MOGLOCKER				0x04
#define LOC_NONE					0xFF

// Treasure Pool Defines

#define TREASUREPOOL_SOLO			0x00
#define	TREASUREPOOL_PARTY			0x01
#define TREASUREPOOL_ZONE			0x02

// Item Lot Defines

#define	ITEMLOT_WIN					0x01
#define	ITEMLOT_WINERROR			0x02
#define ITEMLOT_LOST				0x03

#endif